package HomeWork.Extends_02;

public class Coder extends Employee{
    public Coder() {
    }

    public Coder(String name, String id, double salary) {
        super(name, id, salary);
    }

    @Override
    public void work() {
        System.out.println("姓名为:" + this.getName() + ",工号为:" + this.getId() +
                ",工资为:" + this.getSalary() + "的程序员写代码");
    }
}
